Javascript Beautify
js-beautify for sublime
Details
Installs
- Total 286K
- Win 151K
- Mac 86K
- Linux 49K
May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 5 | 2 | 2 | 6 | 5 | 8 | 12 | 8 | 6 | 4 | 4 | 7 | 7 | 4 | 2 | 2 | 5 | 8 | 3 | 8 | 11 | 5 | 3 | 3 | 3 | 4 | 5 | 5 | 5 | 4 | 1 | 7 | 13 | 8 | 4 | 10 | 0 | 3 | 8 | 4 | 10 | 8 | 5 | 6 | 3 | 11 |
Mac | 6 | 2 | 0 | 3 | 1 | 2 | 3 | 5 | 1 | 4 | 2 | 1 | 2 | 1 | 3 | 4 | 3 | 5 | 4 | 8 | 2 | 3 | 2 | 3 | 2 | 8 | 7 | 8 | 3 | 0 | 1 | 4 | 6 | 6 | 3 | 3 | 1 | 2 | 5 | 4 | 5 | 2 | 4 | 1 | 0 | 4 |
Linux | 2 | 1 | 1 | 1 | 1 | 0 | 3 | 2 | 0 | 0 | 2 | 0 | 2 | 0 | 3 | 0 | 0 | 4 | 3 | 3 | 2 | 1 | 0 | 1 | 1 | 0 | 2 | 3 | 2 | 4 | 3 | 1 | 3 | 2 | 1 | 1 | 2 | 1 | 2 | 2 | 5 | 2 | 3 | 0 | 1 | 2 |
Readme
- Source
- raw.githubusercontent.com
Project Deprecated
Project Deprecated , since that I am busy with another project and most of the time I use atom, the project deprecated , andbody who use js beautify can use https://github.com/jdc0589/JsFormat
Thanks.
JS Beautify Wrapper for Sublime Text
Installation
1.Just 'Javascript Beautify' from Sublime's package manager.
Comment
1.current support embed js within jade file
Settings
JS Beautify sublime default settings (the same as js-beautify settings),only add // jsbeautify options “format_on_save”: true
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
// jsbeautify options
"format_on_save": true
}
License
You are free to use this in any way you want, in case you find this useful or working for you but you must keep the copyright notice and license. (MIT)
Credits
- Written by Edwin Liu, enginespot@gmail.com
- Get Idea from JsFormat Library by Davis Clark